// 请求相关 enum

// * 请求方式
export enum HttpReqMehod {
    GET = 'GET',
    POST = 'POST',
    PUT = 'PUT',
    DELETE = 'DELETE'
}

// 请求头资源类型
export enum HttpReqContentType {
    JSON = 'aplication/json;chartset=UTF-8', // JSON类型
    FORM_DATA = 'multipart/form-data;chartset=UTF-8'  // 上传文件类型
}

// * 状态码
export enum HttpCode {
    SUCCESS = 200, // 成功
    UNAUTHORIZED = 401,//未授权或登录过期
    TIMEOUT = 10000,// 超时
    NOTFOUND = 404 
}

